/*
 * 文件名称: LoginController.java Copyright 2011-2016 Ximalaya All right reserved.
 */
package com.zxy.log4jdemo.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.zxy.log4jdemo.service.UserService;

/**
 * @author Bird Zhang
 */
public class LoginController {
  private static final Logger LOG = LoggerFactory.getLogger(LoginController.class);

  public Boolean isExsist() {
    LOG.info("isExsist begin");
    LOG.debug("isExsist begin");
    UserService userService = new UserService();
    Boolean ret = userService.isExsist();
    LOG.debug("isExsist end");
    LOG.info("isExsist end");
    return ret;
  }
}
